/*
 * @Author: 郭招娣 10615594+guo-zhaodi@user.noreply.gitee.com
 * @Date: 2022-10-21 10:52:20
 * @LastEditors: 郭招娣 10615594+guo-zhaodi@user.noreply.gitee.com
 * @LastEditTime: 2022-10-21 11:07:08
 * @FilePath: \宏烨找房\用户端\app\demo\src\App.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { useRoutes } from 'react-router-dom'
import './App.css';
import { RouterList } from './Route';
import 'lib-flexible'
import Hoc from './components/Hoc';
const App = () => {
  const element = useRoutes(RouterList)
  return (

    // 导航12
    <div className="App">
      {element}
    </div>
  );
}

export default Hoc(App);
